home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 2
/
Wayzata's Best of Shareware 2.0 (Windows) (Wayzata Technology)(7112)(1994).bin
/
pc
/
dos
/
math
/
mrcry209
/
gcd.eka
< prev
next >
Wrap
Text File
|
1992-11-03
|
283b
|
14 lines
; Demo of external functions.
; GCD computes the greatest common divisor of two numbers.
EXTERNAL GCD
; ASINH is the inverse hyperbolic sine.
EXTERNAL ASINH
; correct answer is 7
a = GCD(156562431911123, 442677773754356)
; should get c = PI
b = SINH(PI)
c = ASINH(b)